package com.chcplayer.ui
{
import air.update.ApplicationUpdaterUI;

import flash.text.TextField;
import flash.text.TextFieldAutoSize;
import flash.text.TextFormat;

/**
 * author yh
 */
public class AboutWindow extends BaseWindow
{
	/**
	 */
	private var m_ttf:TextField = new TextField();
	/**
	 */
	public function AboutWindow()
	{
		super("关于", 352, 200);
		m_ttf.mouseEnabled = false;
		m_ttf.autoSize = TextFieldAutoSize.LEFT;
		m_ttf.defaultTextFormat = new TextFormat("Microsoft YaHei", 15);
		var obAU:ApplicationUpdaterUI = new ApplicationUpdaterUI();
		m_ttf.text = "CHCPlayer " + obAU.currentVersion;
		m_ttf.x = 10;
		m_ttf.y = 10;
		this.addChild(m_ttf);
		p_btnOK.x = 134;
		p_btnOK.y = 120;
		this.addChild(p_btnOK);
	}
}
}